package cn.edu.just.firstjavaapp.l8;

public class Test {
    public static void main(String[] args) {
        Rectangle r1 = new Rectangle(12,15);
        Rectangle r2 = new Rectangle();
        System.out.println(r1.isLargerThan(r2));
        System.out.println("---------------");
        Person p1 = new Person("张三",18);
        Person p2 = new Person("李四",20);

        System.out.println(p1.isLargerThan(p2));
    }
}
